/* ------------- reusable ----------------*/
.row_fullwidth {
	width: 780px;
	clear: both;
}
.box_fullwidth {
	clear: both;
	padding-left: 15px;
	padding-right: 15px;
	width: 750px; /* +padding: 780px */
	min-height: 500px; /* min height hack */
    height: auto !important;
    height: 500px; /* end hack */
    background-image: url(/files/images/bg_fullwidth.png);
	background-repeat: no-repeat;
}
.box_standard {
	padding-left: 15px;
	padding-right: 15px;
	width: 510px; /* +padding: 540px */
    background-image: url(/files/images/bg_standardbox.png);
	background-repeat: no-repeat;
	clear: both;
	margin-bottom: 10px;
	min-height: 80px;
	/*overflow: auto;*/
	/*padding: 5px 10px 10px 10px;*/
	position: relative;
}
.box_tiny {
	padding-left: 15px;
	padding-right: 15px;
	margin-bottom: 10px;
	width: 200px; /* +padding: 230px */
    background-image: url(/files/images/bg_sidebar.png);
	background-repeat: no-repeat;
}
.bar_fullwidth {
	clear: both;
	width: 780px;
	height: 30px; /* +padding: 30px */
	background-image: url(/files/images/bg_bar_blue_big.png);
	background-repeat: no-repeat;
	line-height: 30px;
	margin-top: 10px;
	margin-bottom: 10px;
	text-align: center;
}
.twocolumn_wide {
	width: 540px;
	float: left;
	clear: left;
}
.twocolumn_small {
	width: 230px;
	float: right;
	clear: right;
}

.align_right {
	text-align: right;
}
.float_right {
	float: right;
}
.float_left {
	float: left;
}
	
/* --------------- basic ---------------- */
html,body {
	text-align: center;
	background-color: #FFFFFF;
	font-family: "Trebuchet MS", "Luxi Sans",Verdana, Arial, Helvetica, sans-serif;
	font-size: 13px;
}

a, a:link{
	color: #2A54AA;
	outline: none;
}

a:visited{
	color: #22468C;
}

a:hover, a:visited:hover{
	color: #3060C1;
}

a:active{
	color: #FF9933;
}

a img{
	border: 0;
}

p{
	text-align: left;
	margin: 0;
	padding: 6px 0;
}

h1 {
	line-height: 50px;
	font-size: 25px;
	font-weight: bold;
	color: #000000;
	margin: 0;
	padding: 0;
	text-align: left;
}

h2{
	color: #222222;
	font-size: 20px;
	font-weight: bold;
	line-height: 25px;
	margin: 0;
	padding: 0px;
	text-align: left;
}

h3{
	color: #333333;
	font-size: 18px;
	font-weight: normal;
	margin: 5px 0 5px 0;
	padding: 0;
	text-align: left;
}

h4{
	font-size: 16px;
	margin: 0;
	padding: 0 0 5px 0px;
	text-align: left;
}

h5{
	font-size: 14px;
	margin: 0;
	padding: 0 0 5px 0;
	text-align: left;
}

h6{
	font-size: 1em;
	margin: 0 10px;
	padding: 0;
	text-align: left;
}

/* ---------------- forms ----------------- */
.defaultform {
	width: 500px;
}
.wide {
	width: 515px;
}
.defaultform input, textarea, select {
	width: 330px;
	clear: right;
}
.defaultform label {
    display: block;
    width: 150px;
    float: left;
    clear: left;
    margin: 2px 10px 6px 0px;
    text-align: right;
}
.defaultform #okbutton {
	width: 50px;
	float: right;
}
.defaultform #submit {
	width: 100px;
	float: right;
}

.defaultform #recaptcha {
	display: block;
	float: right;
}
.defaultform #recaptcha:after {
	content: '.';
	clear: both;
	visibility: hidden;
}

#defaultform_radiobox {
	display: block;
	width: 500px;
	overflow: auto;
	margin-bottom: 10px;
}
.defaultform_radiobox input {
	width: 20px;
	margin-left: 156px;
	height: 15px;
	margin-top: 2px;
	margin-bottom: 6px;
	float: left;
	clear: left;
	margin-right: 5px;
}
.defaultform_radiobox label {
	width: 300px;
	height: 15px;
	float: right;
	clear: right;
	text-align: left;
}
.defaultform table {
	border-spacing: 0px;
	border-width: 1px;
	border-style: solid;
}

/* --------------- header ----------------- */
#header {
	width: 780px;
	height: 80px;
	margin-bottom: 10px;
}

.logo {
	float: left;
	width: 230px;
	height: 80px;
	background: url(/files/images/logo.png);
	background-repeat: no-repeat;
}
.logo a {
	display: block; 
	width: 100%;
	height: 100%;
}

#navmenu {
	float: right;
	width: 540px;
	height: 30px;
	background-image: url(/files/images/bg_nav.png);
	background-repeat: no-repeat;
}
#nav {
	background-color: #3060C1;
	background-image: url(/files/images/bg_nav.png);
	background-repeat: no-repeat;
	float: right;
	margin: 0 0 10px 0;
	padding: 0 5px;
	width: 530px;
	height: 30px;
}

#nav ul {
	clear:both;
	height:30px;
	list-style-type: none;
	display: inline;
}

#nav li {
	height: 30px;
	clear: both;
	list-style-type: none;
	display: inline;
}

#nav a{
	border-right: 1px solid #22468C;
	color: #E7EBF7;
	font-size: 15px;
	font-weight: bold;
	line-height: 30px;
	padding: 2px 6px;
	text-decoration: none;
}

/* --------------- specific ---------------- */

/* default page containers */
#maincontainer {
	width: 780px;
	margin: 0 auto;
	text-align: left;
}
#maincontent {
	width: 750px;
	min-height: 300px;
    height: auto !important;
    height: 300px;
	text-align: left;
	margin-left: 15px;
	margin-right: 15px;
	margin-top: 5px;
}

/* google search box and userbar */
#userbar{
	background-image: url(../files/images/bg_userbar.png);
	background-repeat: no-repeat;
	float: left;
	font-size: 15px;
	height: 40px;
	line-height: 40px;
	margin: 0 10px;
	padding: 0 10px;
	width: 280px;
}

#userbar a{
	font-weight: bold;
}

#searchbar {
	background-image: url(../files/images/bg_searchbar.png);
	background-repeat: no-repeat;
	float: left;
	height: 40px;
	line-height: 40px;
	padding: 0 10px;
	width: 210px;
}

#searchbar input{
	max-width: 120px;
}

#cse-search-box {
	/*float: right;
	clear: right;*/
	width: 200px;
	height: 30px;
}

/* header login form */
#login {
	display: none;
	visibility: hidden;
}

#titlebox {
	clear: both;
	padding-left: 15px;
	padding-right: 15px;
	width: 750px;
	height: 50px;
	background-image: url(/files/images/bg_fullwidth.png);
	background-repeat: no-repeat;
}

#category {
	clear: both;
	width: 780px;
}
#categorytitle {
	float: left;
	width: 540px;
	height: 200px;
	background-image: url(/files/images/bg_standardbox.png);
	background-repeat: no-repeat;
}
#categorystats {
	float: right;
	width: 230px;
	height: 200px;
	background-image: url(/files/images/bg_sidebar.png);
	background-repeat: no-repeat;
}
#footer {
	clear: both;
	width: 780px;
	height: 30px;
	background-image: url(/files/images/bg_bar_blue_big.png);
	background-repeat: no-repeat;
	padding-top: 7px;
	margin-top: 15px;
	font-size: 12px;
	text-align: center;
}
#imgpreview {
	visibility: hidden;
	position: absolute;
	left: 50%;
	bottom: 100px;
	margin-left: -240px;
	background-color: #CCCCCC;
	width: 480px;
	height: 371px;
	z-index: 1;
	text-align: right;
}
/*form#uploadform .text {
	width: 330px;
}*/
/* uploadform */
#uploadform_errorbox {
	margin-bottom: 10px;
	background-color: #FF7777;
	width: 780px;
	clear: both;
}
#uploadform_infobox {
	margin-bottom: 10px;
	background-color: #DDEEFF;
	visibility: hidden;
	display: none;
	width: 750px;
	height: 100px;
	clear: both;
}
.uploadform_infobox img {
	float: left;
	clear: left;
}
.uploadform_infobox p {
	float: right;
	clear: right;
	width: 650px;
}

/* dropdowns */

/* browse search */
.res_search {
	clear: both;
	width: 750px; /* 780 - 30 */
	height: 30px; /* 40 - 10 */
	padding: 10px 15px 0px 15px;
	margin-bottom: 10px;
	background-image: url(/files/images/bg_bar_fullwidth.png);
	background-repeat: no-repeat;
}
.res_search select {
	width: 150px;
}
.res_search img {
	width: 22px;
	height: 22px;
	margin: 0;
	padding: 0;
	line-height: 22px;
	display: inline;
}

/* result */
.result {
	width: 750px;
	height: 100px;
	margin-top: 10px;
	background-color: #F5F5F5;
	border-bottom:1px solid #E6E6E6;
	border-top:1px solid #E6E6E6;
}
.thumb {
	float: left;
	height: 80px;
	width: 80px;
	border: 0px;
}
.player {
	width: 80px;
	height: 80px;
	float: left;
}
.resultinfo {
	width: 670px;
	height: 80px;
	float: right;
}
.resulttoolbar {
	/* width: 730 with flash miniplayer, 750 without. Parsed Inline by PHP. */
	height: 20px;
	float: left;
	clear: left;
	text-align: right;
	color: #CCCCCC;
}
.miniplayer {
	width: 20px;
	height: 20px;
	float: right;
	clear: right;
	margin-top: 0px;
	padding-top: 0px;	
	margin-bottom: 0px;
	padding-bottom: 0px;
}
/* tiny result */
.tinyresult {
	width: 255px;
	height: 80px;
	margin-bottom: 10px;
	border-top: 1px solid #E6E6E6;
}
.tinyresult_thumb {
	float: left;
	clear: left;
	height: 60px;
	width: 80px;
	border: 0px;
}
.tinyresult_info {
	width: 170px;
	height: 60px;
	float: right;
	clear: right;
}
.tinyresult_toolbar {
	/* width: 235 with flash miniplayer, 255 without. Parsed Inline by PHP. */
	height: 20px;
	float: left;
	clear: left;
	text-align: right;
	color: #CCCCCC;
}
.tinyresult_player {
	width: 20px;
	height: 20px;
	float: right;
	clear: right;
	margin-top: 0px;
	padding-top: 0px;	
	margin-bottom: 0px;
	padding-bottom: 0px;
}

/* Browse */
#browse_type {
	margin: 0 0 10px 0;
	padding: 0 5px;
	height: 30px;
}

#browse_type ul {
	width: 120px;
	height: 30px;
	list-style-type: none;
	/* display: inline; */
}

#browse_type li {
	background-image: url(/files/images/searchbtn.png);
	background-repeat: no-repeat;
	float: left;
	width: 120px;
	height: 30px;
	margin-left: 5px;
	list-style-type: none;
	text-align: center;
	display: inline;
}

#browse_type a{
	color: #FFFFFF;
	font-size: 15px;
	font-weight: bold;
	line-height: 30px;
	padding: 2px 6px;
	text-decoration: none;
}

#dev_output {
	margin-bottom: 10px;
	background-color: #FF7777;
	width: 780px;
	clear: both;
}

/*tinyresult containers*/
.more {
	float: right;
	line-height: 25px;
	margin: 0;
	padding: 0;
}
.more a {
	padding-right: 15px;
	background-image: url(/files/images/bullet_more.png);
	background-repeat: no-repeat;
	background-position: right; 
}
.boxtitle {
	color: #222222;
	font-size: 20px;
	font-weight: bold;
	line-height: 25px;
	margin: 0;
	padding: 0px;
	text-align: left;
	float: left;
	clear: left;
	width: 300px;
}

/* Tutorial projects */
.prjbox_small {
	width: 510px;
	/*height: 150px;*/
	margin-top: 10px;
	background-color: #F5F5F5;
	border-bottom: 1px solid #E6E6E6;
	border-top: 1px solid #E6E6E6
}
.prjbox_small br {
	clear: both;
}
.prjbox_small img {
	float: left;
	clear: left;
	margin-top: 10px;
	border-style:solid;
	border-width:1px;
}
.prjbox_small p {
	width: 360px;
	float: right;
	clear: right;
}
.prjbox_small h3 {
	float: right;
	width: 360px;
}


/* ---------------- thumbs ---------------- */
#thumb_row {
	clear: both;
	margin-left: 15px;
	width: 540px;
	height: 152px;
}
#thumb_sprite {
	float: left;
	width: 150px;
	height: 152px;
	margin-left: 15px;
	background-image: url(/files/images/spritethumb.png);
	background-repeat: no-repeat;
}

	